package com.cn.mmd.service;

import com.cn.mmd.mapper.StudentIntegralLogMapper;
import com.cn.mmd.model.StudentIntegralLog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2016/12/7.
 */
@Service("studentIntegralLogService")
public class StudentIntegralLogServiceImpl implements StudentIntegralLogService {

    @Autowired
    private StudentIntegralLogMapper studentIntegralLogMapper;

    @Override
    public int insertSelective(StudentIntegralLog record) {
        return studentIntegralLogMapper.insertSelective(record);
    }

    @Override
    public List<StudentIntegralLog> selectByAll(StudentIntegralLog studentIntegralLog) {
        return studentIntegralLogMapper.selectByAll(studentIntegralLog);
    }
}
